package com.azh.server.util;

import java.util.Random;

/**
 * @author zhaozhenhang <zhaozhenhang@kuaishou.com>
 * Created on 2022-04-25
 */
public class RandomUtils {

    public static byte[] randomBytes(int len) {
        Random random = new Random();
        byte[] data = new byte[len];
        random.nextBytes(data);
        return data;
    }
}
